//
//  API.swift
//  CXSwiftDemo
//
//  Created by 潮汐 on 2023/11/28.
//  Copyright © 2023 小潮汐. All rights reserved.
//

struct API {
    //类方法：static
    static let imgrank = "http://m2.qiushibaike.com/article/list/imgrank"
    
    ///获取天气数据
    static let weatherapi = "http://weatherapi.market.xiaomi.com/wtr-v2/temp/realtime?"
    
//    func url(path:String) -> String {
//
//    }//多个地址可以用方法去拼接“固定地址+域名”
}
